package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 gm_area
 *
 * @author ruoyi
 * @date 2024-10-08
 */
public class GmArea extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 游戏区名称 */
    @Excel(name = "游戏区名称")
    private String areaName;

    /** 地址 */
    @Excel(name = "地址")
    private String url;

    /** 类型（0 熊猫  1乾坤） */
    @Excel(name = "类型", readConverterExp = "0=,熊=猫,1=乾坤")
    private Long type;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAreaName(String areaName)
    {
        this.areaName = areaName;
    }

    public String getAreaName()
    {
        return areaName;
    }
    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getUrl()
    {
        return url;
    }
    public void setType(Long type)
    {
        this.type = type;
    }

    public Long getType()
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("areaName", getAreaName())
                .append("url", getUrl())
                .append("type", getType())
                .append("createTime", getCreateTime())
                .toString();
    }
}
